﻿if(!window.saf){
    window.saf = {};
}
//1. jquery.safpager.js -- <分页Paging>
    window.saf.pagerInfo={"first":"First",
                       "prev":"Previous",
                       "next":"Next",
                       "last":"Last",
                       "pPage":"",
                       "allPage":"/{1}pages ({0}totally)"
                      };


//2. jquery.safform.js -- <表单验证Order Confirmation>
    window.saf.formInfo={"title":"Prompt",
                          "w":"Please put in correct info！",
                          "r":"Info confirmed",
                          "c":"Info checking",
                          "s":"Please put in info",
                          "v":"The input info has not been confirmed yet.Please wait...",
                          "p":"Submitting..."
                          };

//3. jquery.safintent.js -- <发布意向Send an Intention>
    window.saf.intentInfo={"lableInfo":{"ratio":"Odds","bet":"Stake","intent":"Intention","gp":"List","full":"Full","instant":"In Time"},
                            "tipInfo":{"betInvalid":"There is/are invalid bet/bets in your order. Please remove it/them first and then confirm your bet. Thank you.",
                            "noBet":"You haven't chosen the match yet.",
                            "betError":"The stake must be filled in with an integer from {0}to{1}",
                            "ratioError":"Invalid odds ( it must be a number from {0}to{1}and there shouldn't be more than two decimals.)"},
                            "buyTitle":"Back",
                            "sellTitle":"Lay"};
	
//4. jquery.safdialog.js -- <弹出框Pop-up Box>
    window.saf.dialogInfo={"rtCode":"Return code for failed request","noMsg":"The message doesn't exist.","hasDia":"The Dialog box has already been opened",
                            "errorMsg":"Error Massage","warnMsg":"Warning","tipMsg":"Prompt","confirm":"Confirm","cancel":"Cancel"};


//5. jquery.safplay.js -- <游戏定时刷新Refresh at set time>
    window.saf.playInfo={"position":"Click and view market info.","buy":"Back","sell":"Lay","brv":"Back Ratio:{0}%","srv":"Lay Ratio:{0}%"};
	 
//6. jquery.safsubscribe.js -- <手动认购Subscribe Manually>
    window.saf.subscribeInfo={"title":"Subscribe manually","describe":"Original Intention：{0}","subscribe":"Subscribe","notsubscribe":"No Subscription",
                               "countdown":"Subscription count down,{0} second(s) left","timeout":"Operation can't be done during manual subscription timeout","loading":"loading...",
                               "loadtimeout":"Manual subscription finished. For result, please see trading records",
                               "subscribeinfo":[["You succeeded in subscribing this intention by the {0}strategy","You succeeded in setting this intention to No Subscription"],
                                                "The system is busy now. Please try again later.","You or others have subscribed this intention.",
                                                "The system has dealt with it automatically.","You have set not to subscribe this intention"]};
		
//7. jquery.safrefresh.js -- <定时刷新Refresh at set time>
    window.saf.refreshInfo={"errMsg":"Request error："};

		
//8. jquery.saftable.js -- <列表List>
    window.saf.tableInfo={"noData":"No data!","reqErr":"Return code for failed request","askError":"Reqest error!","loading":"Handling..."};


//9. jquery.saftree.js -- <树形菜单Tree Menu>
    window.saf.treeInfo={"toConfig":"Click to configure","waiting":"Please wait...","getChildErr":"Failed to get the child node","noChildMsg":"No child node！",
				"addNameErr":"Name can't be blank and can't be all numbers; Confirm to put in again; Cancel and your setting will be invalid","renameErr":"Name can't be blank and can't be all numbers. Please put in again!",
				"noDel":"Can't be removed because of child nodes","paramErr":"Failed because of a wrong parameter type","addErr":"The required URL doesn't exist！"};


//10.jquery.safposition.js -- <盘口类型转换Odds Type Switching>
    window.saf.positionInfo=["H.K. Odds","Euro Odds"];//盘口类型转换时需要Needed when switching the odds type.
    window.saf.defaultLimit={minRatio:1.01,maxRatio:9999,minBet:1,maxBet:999999};

//11.jquery.safmenu.js -- <交易系统菜单Menu for the Trading System>
    window.saf.menuInfo={"loading":"Handling...","noData":"No Data!","errorInfo":"Erro!","playUrl":"json.menu1.htm"};
    
//11.jquery.safselectfortime.js -- 
    saf.selectfortimeInfo={titName:"Choose League",
		timeTit:"Time",
		today:"Today",
		yesterday:"Yesterday",
		ordTime:"Order By Time",
		ordName:"Order By Name",
		checkAll:"Select All",
		uncheck:"Deselect All",
		invert:"Invert Selection",
		confirm:"Submit",
		radio:"(Single Selection)",
		dir:"/dataAnalysis"};